namespace QLGT_2.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;
    using System.Web.Script.Serialization;

    public partial class tbl_SachDat
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int MaSachDat { get; set; }

        [Required]
        [StringLength(10)]
        public string MaGiaoTrinh { get; set; }

        public int SoLuong { get; set; }

        public DateTime NgayDat { get; set; }

        public int MaNXB { get; set; }

        [StringLength(200)]
        public string GhiChu { get; set; }

        [ScriptIgnore]
        public virtual tbl_NhaXuatBan tbl_NhaXuatBan { get; set; }
    }
}
